import React, { Component } from 'react';
import { Item } from './'

export default class NowList extends Component {
  static propTypes = {};

  render() {
    let { nowList } = this.props;
    return (
      <ul className="home-now-list padd-17 rel now-list">
        {nowList.map(item => {
          return <Item type="now" item={item} key={item.id} />;
        })}
        <li className="fcc mg-t-20 f12">
          <span className="more ifcc">更多正在播放列表</span>
        </li>
        <li className="abs mg-t-30 line">
          <span className="will-play abs">即将上映</span>
        </li>
      </ul>
    );
  }
}
